package commons.test;

import java.io.IOException;
import java.net.InetAddress;
import java.net.ServerSocket;

import javax.net.ServerSocketFactory;

public class DummyServerSocketFactory extends ServerSocketFactory {

	@Override
	public ServerSocket createServerSocket(final int arg0) throws IOException {

		return new DummyServerSocket(arg0);
	}

	@Override
	public ServerSocket createServerSocket(final int arg0, final int arg1)
			throws IOException {

		return createServerSocket(arg0);
	}

	@Override
	public ServerSocket createServerSocket(final int arg0, final int arg1,
			final InetAddress arg2) throws IOException {

		return createServerSocket(arg0);
	}
}